from django.conf.urls import patterns, include, url
from django.contrib import admin
from dajaxice.core import dajaxice_autodiscover,dajaxice_config

dajaxice_autodiscover()
admin.autodiscover()
urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'chi.views.home', name='home'),
    # url(r'^chi/', include('chi.foo.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
    url(r'^$', 'renders.views.index'),
    url(r'^code/$','views.code.html.view'),
    url(dajaxice_config.dajaxice_url, include('dajaxice.urls')),
)
